﻿@model Alma.Models.ListModel
@{
    ViewContext.Controller.ViewBag.Breadcrumb.Enter("Mon panier", "Show", "Cart", new { id = Session["UserId"] });
    ViewContext.Controller.ViewBag.Breadcrumb.Enter("Nouvelle liste");
}
<div class="fullcol">
    <h1>
        Nouvelle liste</h1>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    @using (Html.BeginForm())
    {
        @Html.ValidationSummary(true)
        <dl><dt>
        <div class="editor-label">
            Nom de la liste
        </div>
        </dt><dd>
        <div class="editor-field">
            @Html.EditorFor(model => model.List_Name)
            @Html.ValidationMessageFor(model => model.List_Name)
        </div>
        </dd>
        </dl>
        <p>
            <input type="submit" value="Créer" />
        </p>
    }
    <div>
    </div>
</div>
